package cn.tedu.ximart.server.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author HCL
 * @date 2022/08/01 21:15
 **/
@Configuration
public class BeanFactory {

    @Bean
    public ObjectMapper objectMapper(){
        return new ObjectMapper();
    }
}